.class public Lcom/instagram/android/fragment/bx;
.super Lcom/instagram/e/b/b;
.source "FindContactListFriendsPromptFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 23
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    return-void
.end method

.method private X()V
    .locals 3

    .prologue
    .line 78
    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->i()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->j()I

    move-result v0

    if-lez v0, :cond_0

    .line 81
    invoke-direct {p0}, Lcom/instagram/android/fragment/bx;->Y()V

    .line 99
    :goto_0
    return-void

    .line 83
    :cond_0
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/facebook/ba;->prompt_when_user_wants_to_skip_finding_friends_during_signup:I

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->a(I)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->find_friends:I

    new-instance v2, Lcom/instagram/android/fragment/cb;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/cb;-><init>(Lcom/instagram/android/fragment/bx;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->yes_skip_this_step:I

    new-instance v2, Lcom/instagram/android/fragment/ca;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/ca;-><init>(Lcom/instagram/android/fragment/bx;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->c(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    goto :goto_0
.end method

.method private Y()V
    .locals 3

    .prologue
    .line 102
    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->i()Landroid/os/Bundle;

    move-result-object v0

    .line 103
    const-string v1, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_IS_SIGN_UP_FLOW"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 104
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->m()Landroid/support/v4/app/r;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/fragment/gk;

    invoke-direct {v2}, Lcom/instagram/android/fragment/gk;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    const-string v1, "next"

    invoke-virtual {v0, v1}, Lcom/instagram/e/b/a/a;->e(Ljava/lang/String;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    .line 108
    return-void
.end method

.method private Z()V
    .locals 3

    .prologue
    .line 111
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    .line 112
    sget v1, Lcom/facebook/ba;->confirm_find_friends:I

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->a(I)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->allow:I

    new-instance v2, Lcom/instagram/android/fragment/cd;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/cd;-><init>(Lcom/instagram/android/fragment/bx;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->cancel:I

    new-instance v2, Lcom/instagram/android/fragment/cc;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/cc;-><init>(Lcom/instagram/android/fragment/bx;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 130
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/bx;)V
    .locals 0
    .parameter

    .prologue
    .line 23
    invoke-direct {p0}, Lcom/instagram/android/fragment/bx;->Z()V

    return-void
.end method

.method private aa()V
    .locals 2

    .prologue
    .line 133
    new-instance v0, Lcom/instagram/android/fragment/hz;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->m()Landroid/support/v4/app/r;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/fragment/hz;-><init>(Landroid/support/v4/app/r;)V

    invoke-virtual {v0}, Lcom/instagram/android/fragment/hz;->b()Lcom/instagram/android/fragment/hz;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->find_friends_item_from_my_contact_list:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/bx;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/hz;->c(Ljava/lang/String;)Lcom/instagram/android/fragment/hz;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/fragment/hz;->c()Lcom/instagram/android/fragment/hz;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/fragment/hz;->e()V

    .line 138
    return-void
.end method

.method static synthetic b(Lcom/instagram/android/fragment/bx;)V
    .locals 0
    .parameter

    .prologue
    .line 23
    invoke-direct {p0}, Lcom/instagram/android/fragment/bx;->X()V

    return-void
.end method

.method static synthetic c(Lcom/instagram/android/fragment/bx;)V
    .locals 0
    .parameter

    .prologue
    .line 23
    invoke-direct {p0}, Lcom/instagram/android/fragment/bx;->Y()V

    return-void
.end method

.method static synthetic d(Lcom/instagram/android/fragment/bx;)V
    .locals 0
    .parameter

    .prologue
    .line 23
    invoke-direct {p0}, Lcom/instagram/android/fragment/bx;->aa()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 31
    sget v0, Lcom/facebook/ax;->fragment_find_contact_list_friends_prompt:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 142
    new-instance v0, Lcom/instagram/android/fragment/ce;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/ce;-><init>(Lcom/instagram/android/fragment/bx;)V

    return-object v0
.end method

.method public d(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 48
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->d(Landroid/os/Bundle;)V

    .line 55
    :try_start_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->j()Landroid/support/v4/app/j;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;

    invoke-virtual {v0}, Lcom/instagram/android/nux/SignedOutFragmentActivity;->l()V
    :try_end_0
    .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0

    .line 59
    :goto_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_find_friends:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/by;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/by;-><init>(Lcom/instagram/android/fragment/bx;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 66
    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_skip:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/bz;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/bz;-><init>(Lcom/instagram/android/fragment/bx;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 73
    invoke-virtual {p0}, Lcom/instagram/android/fragment/bx;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->button_skip:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "<u>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget v2, Lcom/facebook/ba;->skip:I

    invoke-virtual {p0, v2}, Lcom/instagram/android/fragment/bx;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "</u>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 75
    return-void

    .line 56
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 182
    const-string v0, "register_flow_find_friends_contacts_prompt"

    return-object v0
.end method

.method public w()V
    .locals 1

    .prologue
    .line 42
    const/4 v0, 0x1

    sput-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    .line 43
    invoke-super {p0}, Lcom/instagram/e/b/b;->w()V

    .line 44
    return-void
.end method

.method public x()V
    .locals 1

    .prologue
    .line 36
    const/4 v0, 0x0

    sput-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    .line 37
    invoke-super {p0}, Lcom/instagram/e/b/b;->x()V

    .line 38
    return-void
.end method
